Generates AI professional headshots from reference photos using Gemini Pro Image. Supports configurable style, background, attire, count (1-4), quality (standard 1K / high 2K), aspect ratio, and custom prompts. Includes 3-layer content moderation.
Bearer token from your account (https://agent.ai/user/integrations#api)
JSON array of photo objects: [{"base64": "...", "mimeType": "image/jpeg"}]. Up to 3 photos.
professional, casual, creative, executive, friendly, editorial studio_white, studio_gray, office, outdoor, gradient, abstract business_formal, business_casual, smart_casual, casual, scrubs, keep_original Reference results as {{headshot_result.images}}, {{headshot_result.run_id}}, etc.
^[a-zA-Z][a-zA-Z0-9_]*$How many variation images to generate (1-4).
1, 2, 3, 4 Standard: 1K output, ~15s/image. High: 2K output, ~30s/image.
standard, high 1:1, 3:4, 4:3, 2:3, 3:2, 9:16, 16:9 Optional: override the auto-generated prompt. Pose angles are appended per variation.